package com.yang.moyu.meta.cms.params;

import com.yang.moyu.meta.common.param.BaseParam;
import io.swagger.annotations.ApiModel;

/**
 * Create by 10296 on 2021/12/30
 *
 * @Description:
 */
@ApiModel("新增文章PARAM")
public class CmsArticleParam extends BaseParam {


    /**
     * 所属专题
     */
    private Integer topicId;


    /**
     * 文章标题
     */
    private String articleTitle;
    /**
     * 文章作者
     */
    private String articleAuthor;
    /**
     * 文章来源
     */
    private Integer articleSource;
    /**
     * 文章转载来源
     */
    private String fromUrl;
    /**
     * 文章封面图
     */
    private String articleImage;
    /**
     * 关键字
     */
    private String keywords;
    /**
     * 文章类目
     */
    private String articleCategory;

    /**
     * 文章标签
     */
    private String articleTag;

    /**
     * 简介
     */
    private String desc;
    /**
     * 类型(1:普通,2:热门)
     */
    private Integer serviceType;
    /**
     * 是否允许评论(0:不允许,1:允许)
     */
    private Integer allowComments;
    /**
     * 状态(-1:不通过,0未审核,1:通过)
     */
    private Integer status;
    /**
     * 文章内容
     */
    private String content;
    /**
     * 阅读量
     */
    private Integer readNumber;
    /**
     * 置顶等级
     */
    private Integer top;
    /**
     * 所属系统
     */
    private Integer systemId;
    /**
     * 是否删除(0:删除,1:正常)
     */
    private Integer state;
    /**
     * 排序
     */
    private Integer orders;
    /**
     * 发布人ID
     */
    private Integer userId;
    /**
     * 修改人id
     */
    private Integer updateId;

    public Integer getTopicId() {
        return topicId;
    }

    public void setTopicId(Integer topicId) {
        this.topicId = topicId;
    }

    public String getArticleTitle() {
        return articleTitle;
    }

    public void setArticleTitle(String articleTitle) {
        this.articleTitle = articleTitle;
    }

    public String getArticleAuthor() {
        return articleAuthor;
    }

    public void setArticleAuthor(String articleAuthor) {
        this.articleAuthor = articleAuthor;
    }

    public Integer getArticleSource() {
        return articleSource;
    }

    public void setArticleSource(Integer articleSource) {
        this.articleSource = articleSource;
    }

    public String getFromUrl() {
        return fromUrl;
    }

    public void setFromUrl(String fromUrl) {
        this.fromUrl = fromUrl;
    }

    public String getArticleImage() {
        return articleImage;
    }

    public void setArticleImage(String articleImage) {
        this.articleImage = articleImage;
    }

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public String getArticleCategory() {
        return articleCategory;
    }

    public void setArticleCategory(String articleCategory) {
        this.articleCategory = articleCategory;
    }

    public String getArticleTag() {
        return articleTag;
    }

    public void setArticleTag(String articleTag) {
        this.articleTag = articleTag;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Integer getServiceType() {
        return serviceType;
    }

    public void setServiceType(Integer serviceType) {
        this.serviceType = serviceType;
    }

    public Integer getAllowComments() {
        return allowComments;
    }

    public void setAllowComments(Integer allowComments) {
        this.allowComments = allowComments;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getReadNumber() {
        return readNumber;
    }

    public void setReadNumber(Integer readNumber) {
        this.readNumber = readNumber;
    }

    public Integer getTop() {
        return top;
    }

    public void setTop(Integer top) {
        this.top = top;
    }

    public Integer getSystemId() {
        return systemId;
    }

    public void setSystemId(Integer systemId) {
        this.systemId = systemId;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getOrders() {
        return orders;
    }

    public void setOrders(Integer orders) {
        this.orders = orders;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getUpdateId() {
        return updateId;
    }

    public void setUpdateId(Integer updateId) {
        this.updateId = updateId;
    }

    @Override
    public String toString() {
        return "CmsArticleParam{" +
                "topicId=" + topicId +
                ", articleTitle='" + articleTitle + '\'' +
                ", articleAuthor='" + articleAuthor + '\'' +
                ", articleSource=" + articleSource +
                ", fromUrl='" + fromUrl + '\'' +
                ", articleImage='" + articleImage + '\'' +
                ", keywords='" + keywords + '\'' +
                ", articleCategory='" + articleCategory + '\'' +
                ", articleTag='" + articleTag + '\'' +
                ", desc='" + desc + '\'' +
                ", serviceType=" + serviceType +
                ", allowComments=" + allowComments +
                ", status=" + status +
                ", content='" + content + '\'' +
                ", readNumber=" + readNumber +
                ", top=" + top +
                ", systemId=" + systemId +
                ", state=" + state +
                ", orders=" + orders +
                ", userId=" + userId +
                ", updateId=" + updateId +
                '}';
    }
}
